package com.example.ass7.sprite;

import biuoop.DrawSurface;

/**
 * @author Meirav Ben Izhak
 */
public interface Sprite {
    // draw the sprite to the screen
    /**
     * @param d
     *            d
     */
    void drawOn(DrawSurface d);

    // notify the sprite that time has passed
    /**
     * @param dt
     *            dt
     */
    void timePassed(double dt);
}
